Events


OnSelectionChange Fired on text selection change.
OnOptionsChange Fired after an option has been changed by a user.
Examples of such changable options:
  • Text encoding can be changed using right-click menu
  • Font size can be changed using Ctrl + Mouse wheel
OnFileReload Fired after file auto-reload complete (when AutoReload = True).
OnSearchProgress Fired on text search progress.
It is of type:
  TATStreamSearchProgress = procedure(
    const ACurrentPos, AMaximalPos: Int64;
    var AContinueSearching: Boolean) of object;
ACurrentPos: current search position;
AMaximalPos: maximal search position (almost equals to file size);
AContinueSearching: if changed to False then search will be stopped.